﻿using AutoCode.Model.MarkAttribute;

namespace SourceGeneratorApp.InterfaceGenerator
{
    [AutoInterface]
    public class BusinessCenter
         : IBusinessCenter
    {
        [AutoIgnore]
        public int Sum(int num1, int num2)
        {
            return num1 + num2;
        }

        public int Multiplication(int num1, int num2)
        {
            return num1 * num2;
        }

        public int Multiplication( int num2)
        {
            return num2;
        }

        public int Reduce(int num1, int num2)
        {
            return num1 - num2;
        }

        public int Except(int num1, int num2)
        {
            return num1 / num2;
        }
    }
}
